package com.cx.service;

import com.cx.entity.Dept;
import com.sun.org.apache.xpath.internal.operations.Bool;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface DeptService {
    //    查询一个
    Dept getDeptById(int id);

    // 修改
    Boolean updateDept(Dept dept);

    // 删除
    Boolean deleteDeptById(int id);

    // 新增
    Boolean insertDept(Dept dept);
}
